Nevron Open Vision Documentation
Nevron.Nov Namespace / NEnum Class / GetFlags Method / GetFlags<TEnum>() Method


In This Topic
    GetFlags<TEnum>() Method
    In This Topic
    Gets the flags for the given enumeration. This method should be used only for enumerations, which represent a set of flags.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetFlags(Of TEnum As {New, Struct})() As TEnum()
    'Usage
     
    
    Dim value() As TEnum
     
    value = NEnum.GetFlags(Of TEnum)()
    public static TEnum[] GetFlags<TEnum>()
    where TEnum: new(), struct

    Type Parameters

    TEnum
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also